#!/usr/bin/python
#-*- coding:utf-8 -*-
str = '''
header信息替换
'''
ds = {}
for s in str.split('\n'):
    if s != '':
        line = s.split(':')
        ds[line[0]]=':'.join(line[1:])
print ds

